﻿using System;
using System.Reflection;
using KKSG;
using XMainClient.UI;
using XUtliPoolLib;

namespace XMainClient
{
	// Token: 0x02001080 RID: 4224
	internal class Process_RpcC2G_ChangeGuildCard
	{
		// Token: 0x0600D6BD RID: 54973 RVA: 0x00326924 File Offset: 0x00324B24
		public static void OnReply(ChangeGuildCardArg oArg, ChangeGuildCardRes oRes)
		{
			//zcg 
// 			bool flag = oRes.errorcode == ErrorCode.ERR_INVALID_REQUEST;
// 			if (flag)
// 			{
// 				string fullName = MethodBase.GetCurrentMethod().ReflectedType.FullName;
// 				XSingleton<UiUtility>.singleton.OnGetInvalidRequest(fullName);
// 			}
// 			else
// 			{
// 				XGuildJokerDocument specificDocument = XDocuments.GetSpecificDocument<XGuildJokerDocument>(XGuildJokerDocument.uuID);
// 				specificDocument.WaitRpc = false;
// 				bool flag2 = oRes.errorcode == ErrorCode.ERR_SUCCESS;
// 				if (flag2)
// 				{
// 					specificDocument.ChangeCard(oArg.card, oRes.card, oRes.result);
// 				}
// 				else
// 				{
// 					bool flag3 = oRes.errorcode != ErrorCode.ERR_UNKNOWN;
// 					if (flag3)
// 					{
// 						XSingleton<UiUtility>.singleton.ShowSystemTip(oRes.errorcode, "fece00");
// 					}
// 				}
// 			}
		}

		// Token: 0x0600D6BE RID: 54974 RVA: 0x000FEEFC File Offset: 0x000FD0FC
		public static void OnTimeout(ChangeGuildCardArg oArg)
		{
		}
	}
}
